import request from '@/utils/request'

export default {
  findContractTxIdListById(contractId) {
    return request({
      url: `/chain/findContractTxIdListById/${contractId}`,
      method: 'get'
    })
  },
  findAllChain() {
    return request({
      url: `/chain/findAllChain`,
      method: 'get'
    })
  },
  getMessageByTxId(txId) {
    return request({
      url: `/chain/getMessageByTxId/${txId}`,
      method: 'get'
    })
  }
}
